//
//  NetworkingManager.h
//  童伙妈妈网络请求_OC
//
//  Created by rimi on 16/8/17.
//  Copyright © 2016年 Senntten. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

//重命名block
typedef void(^Success)(id responseData);
typedef void(^Failure)(NSError *error);

@interface NetworkingManager : NSObject

#pragma GET请求--------------
+(void)getUrl:(NSString*)url dic:(NSDictionary*)dic Succeed:(Success)succeed failure:(Failure)failure;

#pragma POST请求--------------
+(void)postUrl:(NSString*)url dic:(NSDictionary*)dic Succeed:(Success)succeed failure:(Failure)failure;




@end
